package com.xiangmo.travel.Dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 参数为：code、message、data、token
 * @param <T>
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ResultData<T> {
    private int code;
    private String message;
    private T data;
    private String token;
}
